package cn.gdut.chengcai.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.gdut.chengcai.entity.EmailTemplateInfo;
import cn.gdut.chengcai.entity.EmailTemplateInfoExample;

public interface EmailTemplateInfoService {
	long countByExample(EmailTemplateInfoExample example);

	int deleteByExample(EmailTemplateInfoExample example);

	int deleteByPrimaryKey(Long id);

	int insert(EmailTemplateInfo record);

	int insertSelective(EmailTemplateInfo record);

	List<EmailTemplateInfo> selectByExample(EmailTemplateInfoExample example);

	EmailTemplateInfo selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") EmailTemplateInfo record,
			@Param("example") EmailTemplateInfoExample example);

	int updateByExample(@Param("record") EmailTemplateInfo record, @Param("example") EmailTemplateInfoExample example);

	int updateByPrimaryKeySelective(EmailTemplateInfo record);

	int updateByPrimaryKey(EmailTemplateInfo record);

}